package com.dkd.easybook.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 附件关系对象 eb_attachment_relations
 *
 * @author itheima
 * @date 2024-12-30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EbAttachmentRelations extends BaseEntity
        {   private static final long serialVersionUID = 1L;
        /** 关系id */
            private Long id;

        /** 附件id */
                    @Excel(name = "附件id")
    private Long attachmentId;

        /** 关联的表 */
                    @Excel(name = "关联的表")
    private String tableName;

        /** 关联表的主键 */
                    @Excel(name = "关联表的主键")
    private Long recordId;

        /** 创建日期 */
                    @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;




        }
